from time import sleep

from appium.webdriver.common.mobileby import MobileBy

from APPauto.test_APPauto_practice.test_enterprise_wechat_app.po_add_del_member.package.base import Base
from APPauto.test_APPauto_practice.test_enterprise_wechat_app.po_add_del_member.package.personal_info_settings_package import \
    PersonalInfoSettingsPackage


class PersonalInfoPackage(Base):
    def get_personal_info_settings_package(self):
        """进入个人信息设置页面"""
        self.driver.find_element(MobileBy.ID,'com.tencent.wework:id/iga').click()
        return PersonalInfoSettingsPackage(self.driver)